<!--%import("filter/delete_menu.xml")-->
<!--%import("js/menu_admin.js")-->

<!--#include("header.html")-->

<!-- 삭제를 위한 임시 form -->
<form id="fo_menu" action="./" method="get">
    <input type="hidden" name="menu_srl" value="" />
</form>

<!-- 목록 -->
<table cellspacing="0" class="crossTable">
<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
<thead>
    <tr>
        <th scope="col"><div>{$lang->no}</div></th>
        <th scope="col" class="wide"><div>{$lang->title}</div></th>
        <th scope="col"><div>{$lang->regdate}</div></th>
        <th scope="col" colspan="2"><div>&nbsp;</div></th>
    </tr>
</thead>
<tbody>
    <!--@foreach($menu_list as $no => $val)-->
    <tr class="row{$cycle_idx}">
        <td class="number center">{$no}</td>
        <td class="wide">{htmlspecialchars($val->title)}</td>
        <td class="nowrap">{zdate($val->regdate,"Y-m-d")}</td>
        <td><a href="{getUrl('act','dispMenuAdminManagement','menu_srl',$val->menu_srl)}" class="buttonSet buttonSetting"><span>{$lang->cmd_setup}</span></a></td>
        <td><a href="#" onclick="doDeleteMenu('{$val->menu_srl}');return false;" title="{htmlspecialchars($lang->cmd_delete)}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
    </tr>
    <!--@end-->
    <tr>
        <th colspan="5" class="button">
            <a href="{getUrl('act','dispMenuAdminInsert','module_srl','')}" class="button black strong"><span>{$lang->cmd_make}</span></a>
        </th>
    </tr>
</tbody>
</table>

<!-- 페이지 네비게이션 -->
<div class="pagination a1">
    <a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>
